package cn.com.lookang;

import cn.com.lookang.log.processor.LogProcessor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;

/**
 * easylog组建自动装配
 * @author: liulekang
 * @Date: 2019/6/1
 */
@Configuration
@Conditional(LogAutoAssemCondition.class)
public class AutoAssem {

    @Bean
    public LogProcessor logProcessor() {
        return new LogProcessor();
    }
}
